package com.hxy.springboot06.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hxy.springboot06.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {
//    @Select("select * from user")
    public List<User> findeAllUser();

    public User findUserById(Integer id);
    
    String findeUserByName(String username);

    String findeUserByPwd(String password);
}
